package cn.ichensw.otherworldlystationbackend.model.dto.bangumi;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Bangumi搜索请求类
 */
@Data
public class BangumiSearchV0Request implements Serializable {


    private static final long serialVersionUID = 4524904199150769545L;

    /**
     * 搜索关键字
     */
    @ApiModelProperty("搜索关键字")
    private String keyword;
    /**
     * 排序字段
     */
    @ApiModelProperty("排序字段")
    private String sort = "rank";

    /**
     * 过滤条件
     */
    @ApiModelProperty("过滤条件")
    private BangumiSearchFilterRequest filter;

    /**
     * 每页大小，默认20
     */
    @ApiModelProperty("每页大小，默认20")
    private Integer limit = 20;

    /**
     * 开始偏移量，默认0
     */
    @ApiModelProperty("开始偏移量，默认0")
    private Integer offset = 0;

}
